package com.gl.order.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
@Builder
@ApiModel("修改用户相关参数")
public class UpdateUserDto {


    @ApiModelProperty("用户id")
    @NotBlank(message = "请选择需要修改的用户")
    private String id;

    @ApiModelProperty("真实姓名")
    @NotBlank(message = "姓名不能为空")
    private String realName;

    @ApiModelProperty("职位名称")
    private String position;

    @ApiModelProperty("组别id")
    @NotBlank(message = "组别不能为空")
    private String groupId;

    @ApiModelProperty("角色")
    private List<String> roleIds;

}
